package pe.com.bbva.configuracion.bo;

import java.util.List;

import pe.com.bbva.configuracion.domain.Correo;
import pe.com.stefanini.core.bo.Grid;
import pe.com.stefanini.core.exceptions.BOException;
import pe.com.stefanini.core.exceptions.DAOException;

@SuppressWarnings("rawtypes")
public interface CorreoBO {
	public List<Correo> findCorreos(Correo correo)throws BOException, DAOException ;
	public List<Correo> findCorreosByProceso()throws BOException, DAOException ;
	public Correo findById(Long id) throws BOException, DAOException;
	public Correo findByIncidencia(Long id) throws BOException, DAOException;
	public void save(Correo correo) throws BOException, DAOException;
	public void delete(Correo correo)throws BOException;
	public void deleteLog(Class correo, Long id)throws BOException;
	public Grid<Correo> findToGrid(Correo correo,String order, int page, int rows)
	throws BOException, DAOException;
	public List<Correo> findCorreoListByDescrip(String descripcion) throws BOException;
	public Long ValidaCargaEnProceso() throws BOException;
	public void update(Correo correo) throws BOException;
}